package com.server.questionbank.snframe.domain.ResDTO;

import lombok.Data;

import java.util.List;

@Data
public class SearchResult<T>  {
    private T data;       // 搜索数据
    private List<String> participle; // 分词结果

    public SearchResult() { }
    // 构造方法
    public SearchResult(T data, List<String> participle) {
        this.data = data;
        this.participle = participle;
    }
}
